﻿using PLCS.Domain.Shared.Logs;

namespace PLCS.Application.Contracts.InterfaceApp.Dtos;

public class InterfaceLogDto : EntityDto<Guid>
{
    /// <summary>
    /// 请求方
    /// </summary>
    public string RequestSide { get; set; }

    /// <summary>
    /// 返回方
    /// </summary>
    public string ResponseSide { get; set; }

    /// <summary>
    /// 接口名称
    /// </summary>
    public string InterFaceName { get; set; }

    /// <summary>
    /// 接口描述
    /// </summary>
    public string InterfaceDescription { get; set; }

    /// <summary>
    /// 接口模式
    /// </summary>
    public InterfaceMode InterfaceMode { get; set; }

    /// <summary>
    /// 数据格式
    /// </summary>
    public InterfaceDataType DataType { get; set; }

    /// <summary>
    /// 请求参数
    /// </summary>
    public string RequestParam { get; set; }

    /// <summary>
    /// 回传数据
    /// </summary>
    public string ResponseData { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreationTime { get; set; }
}